package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceSpecialEffectsConfigLog 系统接口表
type DanceSpecialEffectsConfigLog struct {
	Id                  int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"api的id"`
	ClientTranslationId int64          `json:"clientTranslationId" gorm:"column:client_translation_id;type:int;default:0;not null;comment:和客户端关联关系的id,这个字段不能通过管理后台改"`
	Name                string         `json:"name" gorm:"column:name;type:varchar(256);not null;default:'';comment: 特效名字"`
	Number              int64          `json:"number" gorm:"column:number;type:bigint;default:0;not null;comment:补的积分"` // 补的特效数量
	AnchorOpenId        string         `json:"anchorOpenId" gorm:"column:anchor_open_id;type:varchar(256);not null;default:'';comment: 主播id"`
	AnchorNickname      string         `json:"anchorNickname" gorm:"column:anchor_nickname;type:varchar(256);not null;default:'';comment: 主播id"`
	SecOpenid           string         `json:"secOpenid" gorm:"column:sec_openid;type:varchar(256);not null;default:'';comment: 玩家id"`
	SecOpenName         string         `json:"secOpenName" gorm:"column:sec_open_name;type:varchar(256);not null;default:'';comment: 玩家昵称"`
	Reviewer            string         `json:"reviewer" gorm:"column:reviewer;type:varchar(256);not null;default:'';comment:审核人"` // 审核人
	CreatedId           int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`  // 更新人id
	CreatedAt           time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt           time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt           gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
